package com.zwj.design.factory.simple;

import com.zwj.design.factory.simple.factory.SimpleFactory;
import com.zwj.design.factory.simple.service.IProduct;

public class Client {
    public static void main(String[] args) {
        // 生成产品B
        IProduct product = SimpleFactory.makeProduct("ProductB");
        product.doSomeThing();
    }
}